Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / OMathStructCollection Class / InsertFraction Method / InsertFraction(String,String,Nullable<OMathFractionType>,InsertLocation) Method
The structure numerator element text.
The structure denominator element text.
The fraction type, can be null.
The target InsertLocation for the insertion.

In This Topic
    InsertFraction(String,String,Nullable<OMathFractionType>,InsertLocation) Method
    In This Topic
    Inserts a new OMathFraction into the collection at the specified location.
    Syntax
    'Declaration
     
    Public Overloads Function InsertFraction( _
       ByVal numeratorText As System.String, _
       ByVal denominatorText As System.String, _
       ByVal fractionType As System.Nullable(Of OMathFractionType), _
       ByVal location As InsertLocation _
    ) As OMathFraction
    public OMathFraction InsertFraction( 
       System.string numeratorText,
       System.string denominatorText,
       System.Nullable<OMathFractionType> fractionType,
       InsertLocation location
    )

    Parameters

    numeratorText
    The structure numerator element text.
    denominatorText
    The structure denominator element text.
    fractionType
    The fraction type, can be null.
    location
    The target InsertLocation for the insertion.

    Return Value

    The inserted OMathFraction instance.
    See Also